import request from '@/util/request'

// 用户密码重置
export function updateUserPwd(data) {
  return request({
    url: '/system/user/profile/updatePwd'+ `?oldPassword=${data.oldPassword}&newPassword=${data.newPassword}`,
    method: 'put',
	isToken:true
  })
}
